import axios from "../../axios.js"

export default {
  //电话量统计
  selectTelNumber(data) {
    return axios({
      url: '/crm/selectNewTelNumber',
      method: 'post',
      data
    })
  },
  // 电话量分类统计数
  phoneCounts_api(data) {
    return axios({
      url: '/crm/selectNewTelNumberCount',
      method: 'post',
      data
    })
  },
  //计划统计
  selectPlanNumber(data) {
    return axios({
      url: '/statistics/selectPlanNumber',
      method: 'post',
      data
    })
  },

  //计划类型统计
  selectPlanTypeNumber(data) {
    return axios({
      url: '/statistics/selectPlanTypeNumber',
      method: 'post',
      data
    })
  },

  //签单统计
  customerSignNumber(data) {
    return axios({
      url: '/statistics/customerSignNumber',
      method: 'post',
      data
    })
  },

  //签单类型统计    
  customerSignTypeNumber(data) {
    return axios({
      url: '/statistics/customerSignTypeNumber',
      method: 'post',
      data
    })
  },

  //签单笔数统计
  customerSignSumNumber(data) {
    return axios({
      url: '/statistics/customerSignSumNumber',
      method: 'post',
      data
    })
  },

  //分配数量统计
  selectQuantityAllotted(data) {
    return axios({
      url: '/statistics/selectQuantityAllotted',
      method: 'post',
      data
    })
  },

  //首电反馈统计
  selectFirstElectricFeedback(data) {
    return axios({
      url: '/statistics/selectFirstElectricFeedback',
      method: 'post',
      data
    })
  },

  //电话呼出统计
  selectOutgoingStatistics(data) {
    return axios({
      url: '/statistics/selectOutgoingStatistics',
      method: 'post',
      data
    })
  },

  //数据来源统计
  selectDataSourceCount(data) {
    return axios({
      url: '/statistics/selectDataSourceCount',
      method: 'post',
      data
    })
  },

  //签单来源统计
  customerSignDataSourceNumber(data) {
    return axios({
      url: '/statistics/customerSignDataSourceNumber',
      method: 'post',
      data
    })
  },

  //签单笔数统计获取中心
  selectDepFront(data) {
    return axios({
      url: '/customerOriginal/selectDepFront',
      method: 'get',
      params: data
    })
  },

  //签单来源 金融顾问
  GET_CUSTOMERS(data) {
    return axios({
      url: '/customerOriginal/selectDepUserManager',
      method: 'get',
      params: data
    })
  },
  // 电话量统计懒加载
  phoneTotalLazy_Api(data) {
    return axios({
      url: '/crm/selectNewTelNumber2',
      method: 'post',
      data
    })
  },
};
